export default [
  {
    url: '/api/menu/getAllMenu',
    method: 'get',
    response: () => {
      return {
        code: 200,
        message: 'ok',
        data: [
          {
            id: 'm1', // 菜单id
            icon: 'Location', // icon
            name: '商品', // 菜单标题
            children: [
              {
                id: 'm1-1',
                icon: 'Location',
                name: '商品列表',
                path: '/product/product_list'
              },
              {
                id: 'm1-2',
                icon: 'Location',
                name: '商品分类',
                path: '/product/product_clssify'
              },
              {
                id: 'm1-3',
                icon: 'Location',
                name: '商品规格',
                path: '/product/product_attr'
              },
              {
                id: 'm1-4',
                icon: 'Location',
                name: '商品评论',
                path: '/product/product_reply'
              },
              {
                id: 'm1-5',
                icon: 'Location',
                name: '大文件上传',
                path: '/product/product_upload'
              },
              {
                id: 'm1-6',
                icon: 'Location',
                name: '拖拽连线',
                path: '/product/product_jsPlumb'
              },
              {
                id: 'm1-7',
                icon: 'Location',
                name: '监听localStorage',
                path: '/product/product_localStorage'
              }
            ]
          },
          {
            id: 'm2', // 菜单id
            icon: 'Location', // icon
            name: '订单' // 菜单标题
          },
          {
            id: 'm3', // 菜单id
            icon: 'Location', // icon
            name: '营销' // 菜单标题
          },
          {
            id: 'm4', // 菜单id
            icon: 'Location', // icon
            name: '设置' // 菜单标题
          },
          {
            id: 'm5', // 菜单id
            icon: 'Location', // icon
            name: '维护' // 菜单标题
          }
        ]
      }
    }
  }
]
